package com.gec.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gec.model.entity.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gec.model.vo.AssginRoleVo;
import com.gec.model.vo.SysRoleQueryVo;

import java.util.Map;

/**
 * <p>
 * 角色表 服务类
 * </p>
 *
 * @author Liangxj
 * @since 2023-12-06
 */
public interface SysRoleService extends IService<SysRole> {

    IPage<SysRole> selectPage(IPage<SysRole> page1, SysRoleQueryVo sysRoleQueryVo);

    Map<String, Object> getRolesByCountId(Long countId);

    void doAssign(AssginRoleVo assginRoleVo);

}
